package net.siren93.smh.dao;

import net.siren93.smh.entity.TaskEntity;
import java.util.List;

/**
 * Created by siren93 on 15/10/11.
 */
public interface TaskDao extends GenericDao<TaskEntity, Integer> {
    TaskEntity findByName(String name);
    List<TaskEntity> findByEmployee(int id, int page, int rows);
    List<TaskEntity> findByProject(int id, int page, int rows);
}
